package 行为型模型.责任链模式;

public class Client {
    public static void main(String[] args) {
        LeaveRequset l=new LeaveRequset("强哥",9,"回家");
        Leader l1=new Manager("梁经理");
        Leader l2=new ALLManager("王总经理");
        l1.setNextLeader(l2);
        l1.handleRequset(l);
    }
}
